/*
 * mySPI.h
 *
 *  Created on: 2013.04.27.
 *      Author: Gábor
 */

#ifndef MYSPI_H_
#define MYSPI_H_

#include "bsp.h"

void ClearNsel(void);
void SetNsel(void);

void writeByteSPI(U8 *data_trm);
void SpiReadData(U8 byteCount, U8* pData);
void SpiWriteData(U8 biDataOutLength, U8 *pabiDataIn);

#endif /* MYSPI_H_ */
